package com.dhl.single;

/**
 * @title: 枚举
 * @Author danghailiang
 * @Date: 2022/7/26 21:12
 * @Version 1.0
 */
public class 枚举{
    public static void main(String[] args) {
        EnumSingle insantce = EnumSingle.insantce;
        EnumSingle insantce1 = EnumSingle.insantce;
        System.out.println(insantce == insantce1);
    }
}
enum EnumSingle {
    /**
     * 实体
     */
    insantce;
}
